package com.ktjiaoyu.ch01_hello.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;

/**
 * @author Jane
 * @date 2024-05-22 16:39
 */

@Configuration  //这个类交给boot来管理,  配置类文件
@PropertySource("classpath:zhangchang.properties")
@ConfigurationProperties(prefix = "czkt.t365")
@Data
public class T365User {

    private String username ;//约定优于配置

    private String email[] ={"","",""};
}
